dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c447831
)
add profiling hooks at quite critical place (accounting parser usage by skin)
author
Domas Mituzas
<midom@users.mediawiki.org>
Sun, 16 Jul 2006 08:16:58 +0000
(08:16 +0000)
committer
Domas Mituzas
<midom@users.mediawiki.org>
Sun, 16 Jul 2006 08:16:58 +0000
(08:16 +0000)
includes/OutputPage.php
patch
|
blob
|
history
diff --git
a/includes/OutputPage.php
b/includes/OutputPage.php
index
ad43c22
..
78374ca
100644
(file)
--- a/
includes/OutputPage.php
+++ b/
includes/OutputPage.php
@@
-289,10
+289,13
@@
class OutputPage {
function addWikiTextTitle($text, &$title, $linestart) {
global $wgParser;
+ $fname = 'OutputPage:addWikiTextTitle';
+ wfProfileIn($fname);
wfIncrStats('pcache_not_possible');
$parserOutput = $wgParser->parse( $text, $title, $this->mParserOptions,
$linestart, true, $this->mRevisionId );
$this->addParserOutput( $parserOutput );
+ wfProfileOut($fname);
}
function addParserOutputNoText( &$parserOutput ) {